package com.kly.pay.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.google.common.collect.Maps;
import com.kly.pay.db.dao.POrderRepayDao;
import com.kly.pay.db.entity.POrderRepayEntity;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
* User: linqu
* Date: 2023-06-06
* Time: 20:29:46.916
*/

@Repository
public class POrderRepayDaoImpl extends AbstractBaseMapper<POrderRepayEntity> implements POrderRepayDao {

    @Override
    public POrderRepayEntity queryByPayOrderNo(String payOrderNo) {
        Map<String, Object> params = Maps.newHashMap();
        params.put("payOrderNo", payOrderNo);
        params.put("deleted", 0);
        return this.getSqlSession().selectOne(this.getStatement("queryByPayOrderNo"), params);
    }
}